﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="doctor_info_detail.aspx.cs"
    ValidateRequest="false" Inherits="admin_allergy_doctor_info_detail" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>医生信息 </title>
    <link href="../css/default.css" rel="stylesheet" type="text/css" />

    <script src="../js/jUtility.js" type="text/javascript"></script>

    <script type="text/javascript" src="../common/calendar.js"></script>

    <script type="text/javascript" src="../../fckeditor/fckeditor.js"></script>

    <script type="text/javascript">
        window.onload = function() {
            if (document.getElementById("content")) {
                var fck = new FCKeditor('content');
                fck.BasePath = "../../fckeditor/";

                fck.Width = "90%";
                fck.Height = "400px"
                fck.ReplaceTextarea();
            }

        }
    </script>

</head>
<body>
    <table width="100%" height="500" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
            <td height="414" align="left" valign="top" class="rightbg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="2" bgcolor="#A49B81">
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" background="../images/position_bg.gif" bgcolor="#EEF6FE" class="subnav"
                                        style="background-repeat: repeat-y; background-position: left; padding-left: 6px;
                                        padding-top: 3px;">
                                        <asp:Label ID="headers" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td height="1" bgcolor="#B0C9E8">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="16">
                        </td>
                    </tr>
                    <tr>
                        <td height="16">
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" style="padding-left: 10px;">
                            <form id="form1" method="post" runat="server" enctype="multipart/form-data">
                            <asp:HiddenField ID="id" runat="server" />
                            <table width="95%" height="728" border="1" align="center" cellpadding="0" cellspacing="0"
                                bordercolorlight="#2583BC" bordercolordark="#ffffff">
                                <tr>
                                    <td width="100%" height="641" valign="top">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <th align="left" width="80%">
                                                    医生管理
                                                </th>
                                                <th align="left">
                                                    <a href="info_list.aspx?layerid=1,179,183,190&columnid=190">返回 </a>
                                                </th>
                                            </tr>
                                        </table>
                                        <br>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td width="13%" align="right">
                                                    <font color="#FF0000">* </font>医生名称：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="name" runat="server" MaxLength="100" size="50" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="13%" align="right">
                                                    专家职称：
                                                </td>
                                                <td width="2%">
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="zhuanjia" runat="server" MaxLength="50" size="50" />
                                                </td>
                                            </tr>
                                        </table>
                                        <table width="100%" border="0" id="link" visible="true" runat="server">
                                            <tr>
                                                <td align="right" width="13%">
                                                    博客地址：
                                                </td>
                                                <td width="2%">
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="blog" size="50" MaxLength="100" runat="server" Text="http://" />
                                                </td>
                                            </tr>
                                        </table>
                                        <table width="100%" border="0" id="con" runat="server" visible="true">
                                            <tr>
                                                <td width="13%" align="right">
                                                    所属于医院：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="hospital" runat="server" MaxLength="255" size="50" CausesValidation="True" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" valign="top">
                                                    医生简介：
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="summary" TextMode="MultiLine" Rows="7" Columns="50" runat="server" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" width="13%">
                                                    主要经历：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:TextBox ID="content" TextMode="MultiLine" Rows="7" Columns="50" runat="server" />
                                                </td>
                                            </tr>
                                            <tr id="contag" runat="server" visible="false">
                                                <td width="13%" align="right">
                                                    &nbsp;
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <a name="tagpos"></a>
                                                </td>
                                            </tr>
                                        </table>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td align="right" width="13%">
                                                    首页置顶：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:RadioButtonList runat="server" ID="indextop" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    栏目置顶：
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <asp:RadioButtonList runat="server" ID="sorttop" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    是否设为在线医生：
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                    <asp:RadioButtonList runat="server" ID="islive" RepeatDirection="Horizontal" 
                                                        RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            
                                            
                                            <tr>
                                                <td align="right">
                                                      医生在线课题：
                                                </td>
                                                <td>
                                                </td>
                                                <td >
                                                    <asp:TextBox ID="objectname" runat="server" Width="424px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            
                                            <tr>
                                                <td align="right">
                                                    请选择医生在线时间：
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#3366CC"
                                                        BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana"
                                                        Font-Size="8pt" ForeColor="#003399" Height="191px" Width="194px" 
                                                        onselectionchanged="Calendar1_SelectionChanged">
                                                        <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                        <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                                                        <WeekendDayStyle BackColor="#CCCCFF" />
                                                        <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                                                        <OtherMonthDayStyle ForeColor="#999999" />
                                                        <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                                                        <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                                                        <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                                                            Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                                                    </asp:Calendar>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 开始时间：<asp:DropDownList 
                                                        ID="star_ddl" runat="server" AutoPostBack="True" 
                                                        onselectedindexchanged="star_ddl_SelectedIndexChanged">
                                                        <asp:ListItem Value="0">请选择</asp:ListItem>
                                                        <asp:ListItem Value="1">8:00</asp:ListItem>
                                                        <asp:ListItem Value="2">9:00</asp:ListItem>
                                                        <asp:ListItem Value="3">10:00</asp:ListItem>
                                                        <asp:ListItem Value="4">11:00</asp:ListItem>
                                                        <asp:ListItem Value="5">12:00</asp:ListItem>
                                                        <asp:ListItem Value="6">13:00</asp:ListItem>
                                                        <asp:ListItem Value="7">14:00</asp:ListItem>
                                                        <asp:ListItem Value="8">15:00</asp:ListItem>
                                                        <asp:ListItem Value="9">16:00</asp:ListItem>
                                                        <asp:ListItem Value="10">17:00</asp:ListItem>
                                                        <asp:ListItem Value="11">18:00</asp:ListItem>
                                                        <asp:ListItem Value="12">19:00</asp:ListItem>
                                                        <asp:ListItem Value="13">20:00</asp:ListItem>
                                                        <asp:ListItem Value="14">21:00</asp:ListItem>
                                                        <asp:ListItem Value="15">22:00</asp:ListItem>
                                                        <asp:ListItem Value="16">23:00</asp:ListItem>
                                                        <asp:ListItem Value="17">24:00</asp:ListItem>
                                                    </asp:DropDownList>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 结束时间：<asp:DropDownList ID="end_ddl" 
                                                        runat="server" AutoPostBack="True" 
                                                        onselectedindexchanged="end_ddl_SelectedIndexChanged">
                                                        <asp:ListItem Value="0">请选择</asp:ListItem>
                                                        <asp:ListItem Value="0">请选择</asp:ListItem>
                                                        <asp:ListItem Value="1">8:00</asp:ListItem>
                                                        <asp:ListItem Value="2">9:00</asp:ListItem>
                                                        <asp:ListItem Value="3">10:00</asp:ListItem>
                                                        <asp:ListItem Value="4">11:00</asp:ListItem>
                                                        <asp:ListItem Value="5">12:00</asp:ListItem>
                                                        <asp:ListItem Value="6">13:00</asp:ListItem>
                                                        <asp:ListItem Value="7">14:00</asp:ListItem>
                                                        <asp:ListItem Value="8">15:00</asp:ListItem>
                                                        <asp:ListItem Value="9">16:00</asp:ListItem>
                                                        <asp:ListItem Value="10">17:00</asp:ListItem>
                                                        <asp:ListItem Value="11">18:00</asp:ListItem>
                                                        <asp:ListItem Value="12">19:00</asp:ListItem>
                                                        <asp:ListItem Value="13">20:00</asp:ListItem>
                                                        <asp:ListItem Value="14">21:00</asp:ListItem>
                                                        <asp:ListItem Value="15">22:00</asp:ListItem>
                                                        <asp:ListItem Value="16">23:00</asp:ListItem>
                                                        <asp:ListItem Value="17">24:00</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <br />
                                                    日期：<asp:TextBox ID="TextBox1" runat="server" Width="166px"></asp:TextBox>
&nbsp;开始时间：<asp:TextBox ID="TextBox2" runat="server" Width="91px"></asp:TextBox>
&nbsp;结束时间：<asp:TextBox ID="TextBox3" runat="server" Width="88px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    是否加为快链：
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <asp:RadioButtonList runat="server" ID="quicklink" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                        <asp:ListItem Text="否" Value="0" Selected="True" />
                                                        <asp:ListItem Text="是" Value="1" />
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                </td>
                                                <tr>
                                                    <td height="54" colspan="3" align="center">
                                                        <asp:Button Text="保存" ID="sub" OnClientClick="return subfunc(0)" runat="server" OnClick="Sub_click" />
                                                    </td>
                                                </tr>
                                            </tr>
                                        </table>
                            </table>
                            </form>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <script type="text/javascript">

        var o;

        function subfunc(flag) {
            if (!isFilled(form1.name)) {
                return warning('name', '姓名不能为空!');
            }


            form1.state.value = flag;

            return true;
        }
        function warning(FieldName, WarningString) {
            alert(WarningString);
            eval("form1." + FieldName + ".focus();");
            return (false);
        }
        function stag() {

            return true;
        }

        function upfunc() {

            if (form1.upload1.value == null || form1.upload1.value == "") {
                alert("请选择上传文件！");
                return false;
            }
            return true;

        }

    </script>

</body>
</html>
